package com.jiwei.system.serviceImpl;

import com.jiwei.system.pojo.ResultPoJo;
import com.jiwei.system.utils.SMSUtil;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @title: SMSService
 * @Author 赖志宇
 * @Description TODO
 * @Date: 2020/8/16
 * @Version 1.0
 */
@Service("SMSService")
public class SMSService {
    @Resource
    SMSUtil smsUtil;

    /**
     * 发送验证码
     * @param phoneNumber
     * @return
     */
    public ResultPoJo sendSMSCode(String phoneNumber) {
        return smsUtil.sendSMSCode(phoneNumber);
    }


}
